home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / qdhelp.zip / QDHLPSRC.ZIP / QDHELP.QDH < prev    next >
Text File  |  1994-04-02  |  4KB  |  202 lines

  1. //
  2. // WIN 3.1 header stuff
  3. //
  4.  
  5. //
  6. // pragmas
  7. // uncomment the following command to turn on the debug
  8. // 
  9.  
  10. // /pragma debug
  11.  
  12. //
  13. // set up the options for the .hpj file
  14. //
  15.  
  16. /hpjoption BUILD,WIN31
  17. /hpjoption COPYRIGHT,Copyright Phil Allen 1991-1994
  18. /hpjoption ERRORLOG,QDHELP.LOG
  19. /hpjoption REPORT,ON
  20. /hpjwindows main="QDHELP V3.0",(0,0,1023,1023),0,(255,255,255),(255,255,255)
  21. /hpjwindows second="MORE HELP",(0,0,511,511),0,(13,0,0),(13,0,0)
  22. /hpjoption TITLE,QDHELP V3.0
  23.  
  24.  
  25. //
  26. // add browse buttons to the button bar and set the right and left arrow
  27. // keys to move thru the browse sequences.
  28. //
  29.  
  30. /hpjconfig BrowseButtons()
  31. /hpjconfig AddAccelerator(0x25,0,"Prev()")
  32. /hpjconfig AddAccelerator(0x27,0,"Next()")
  33.  
  34. //
  35. // add a glossary button and window
  36. //
  37.  
  38. /hpjconfig CreateButton("GlossaryButton","&Glossary","JI(`QDHELP.HLP >glossary',`GLOSSARY')")
  39. /hpjwindows glossary="Glossary",(100,100,711,711),0,(255,255,255),(255,255,255)
  40.  
  41. //
  42. // ENDWIN31
  43. //
  44.  
  45.  
  46. //
  47. // default format for the entire document
  48. //
  49.  
  50. /defformat \plain\fs20\f2\cf1
  51.  
  52. //
  53. // This is the index to this help file
  54. //
  55.  
  56. /topic INDEX,WIN31 
  57.  
  58.     /title Quick and Dirty Help
  59.     /browse index,AUTO
  60.  
  61.     /para 
  62.       /text \b\i\fs40,Quick and Dirty Help 
  63.     /endpara
  64.  
  65.     /para \sa100 
  66.       Welcome to the Quick and Dirty way to build help files 
  67.       for Windows 3.x. With  Quick and Dirty Help (QDHELP) you 
  68.       use any ASCII editor to generate help files for Windows 3.x. 
  69.       The ASCII file you generate is input to the QDHELP program
  70.       which outputs a file in rich text format (RTF).  This is the
  71.       format needed by the
  72.       /popuplink MICROSOFT,Microsoft 
  73.       Help Compiler. What this means is that you do not need to 
  74.       purchase Microsoft WORD or some other word processor that 
  75.       generates RTF to be    able to make help files for your Windows 
  76.       3.x applications. The remainder of this help file contains 
  77.       information on the syntax used by the QDHELP program input 
  78.       file along with some hints and tips on using QDHELP.
  79.     /endpara
  80.  
  81.     /para \sa100 
  82.       /text \b,Pick an Index, any Index!
  83.     /endpara
  84.  
  85.     /para \li200
  86.       /link HPJ_SECTIONS,.HPJ File Section Commands,line
  87.       /link COMMANDS,Quick and Dirty Help Commands,line
  88.       /link RUNNING,Running Quick and Dirty Help,line
  89.       /link HINTS,Hints and Tips,line
  90.     /endpara
  91.  
  92. /endtopic
  93.  
  94. /include hpj.qdh
  95. /include commands.qdh
  96. /include include.qdh
  97. /include deformat.qdh
  98. /include topic.qdh
  99. /include pragma.qdh
  100. /include title.qdh
  101. /include keyword.qdh
  102. /include browse.qdh
  103. /include tmacro.qdh
  104. /include helpid.qdh
  105. /include para.qdh
  106. /include text.qdh
  107. /include link.qdh
  108. /include popup.qdh
  109. /include bmaplink.qdh
  110. /include maclink.qdh
  111. /include bitmap.qdh
  112. /include running.qdh
  113. /include hints.qdh
  114.  
  115. //
  116. // the microsoft popup topic
  117. //
  118.  
  119. /glossarytopic MICROSOFT
  120.  
  121.     /title Microsoft
  122.     /keywords Microsoft;Gates;Word
  123.     
  124.     /para 
  125.       You really don't need to ask, do you?
  126.     /endpara
  127.  
  128. /endtopic
  129.     
  130.  
  131. //
  132. // white space popup
  133. //
  134.  
  135. /glossarytopic WHITESPACE
  136.  
  137.     /title WhiteSpace
  138.     /keywords space;whitespace
  139.     
  140.     /para 
  141.       Whitespace is non printable characters found in a text
  142.       file such as tab or space.  For the purposes of QDHELP the
  143.       ONLY recognized whitespace characters are space and tab.        
  144.     /endpara
  145.  
  146. /endtopic
  147. //
  148. // HC
  149. //
  150.  
  151. /glossarytopic HC
  152.  
  153.     /title HC
  154.     /keywords HC
  155.  
  156.     /para
  157.       HC is the name of the Microsoft help compiler.
  158.     /endpara
  159.  
  160. /endtopic
  161.  
  162. //
  163. // what is a twip?
  164. //
  165.  
  166. /glossarytopic TWIPS
  167.  
  168.     /title twips
  169.     /keywords twips
  170.  
  171.     /para
  172.       A twip is a unit used to measure output to a graphics device.
  173.       A twip has a value of 1/1440 of an inch.  In other words, there
  174.       are 1440 twips per inch.
  175.     /endpara
  176.  
  177. /endtopic
  178.  
  179.  
  180.  
  181. /topic ERRATA
  182.  
  183.     /title Errata
  184.     /keywords bugs;errata
  185.     /browse index,AUTO
  186.  
  187.     /para \sa300
  188.         /text \b\i\fs40,Errata
  189.         /bitmaplink INDEX,live.bmp
  190.     /endpara
  191.  
  192.     /para \box\sa300
  193.         Below is a list of known problems and work arounds if
  194.         any are known
  195.     /endpara
  196.  
  197.     /para \box
  198.     /endpara
  199.  
  200. /endtopic
  201.  
  202.